package com.jeecms.wicool.entity.car.base;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Set;

import com.jeecms.wicool.entity.car.CarBrand;
import com.jeecms.wicool.entity.car.CarImg;
import com.jeecms.wicool.entity.car.CarParam;
import com.jeecms.wicool.entity.car.CarSeries;
import com.jeecms.wicool.entity.shops.ShopInfo;


public abstract class AbstractCarType implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private String typeName;
	private CarBrand carBrand;
	private CarSeries carSeries;
	private Integer year;
	private BigDecimal priceGuide;
	private BigDecimal priceSale;
	private String disp;
	private Short gearNum;
	private String gearbox;
	private Integer orderNum;
	private String content;
	private Timestamp createTime;
	private Timestamp updateTime;
	
	private Set<CarImg> carImgs;
	
	private CarParam carParam;
	

	// Constructors

	/** default constructor */
	public AbstractCarType() {
	}


	public AbstractCarType(Integer id, ShopInfo shop, String typeName,
			CarBrand carBrand, CarSeries carSeries, Integer year,
			BigDecimal priceGuide, BigDecimal priceSale, String disp,
			Short gearNum, String gearbox, Integer orderNum, String content,
			Timestamp createTime, Timestamp updateTime,Set<CarImg> carImgs,CarParam carParam) {
		super();
		this.id = id;
		this.shop = shop;
		this.typeName = typeName;
		this.carBrand = carBrand;
		this.carSeries = carSeries;
		this.year = year;
		this.priceGuide = priceGuide;
		this.priceSale = priceSale;
		this.disp = disp;
		this.gearNum = gearNum;
		this.gearbox = gearbox;
		this.orderNum = orderNum;
		this.content = content;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.carImgs=carImgs;
		this.carParam=carParam;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public String getTypeName() {
		return typeName;
	}


	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}


	public CarBrand getCarBrand() {
		return carBrand;
	}


	public void setCarBrand(CarBrand carBrand) {
		this.carBrand = carBrand;
	}


	public CarSeries getCarSeries() {
		return carSeries;
	}


	public void setCarSeries(CarSeries carSeries) {
		this.carSeries = carSeries;
	}


	public Integer getYear() {
		return year;
	}


	public void setYear(Integer year) {
		this.year = year;
	}


	public BigDecimal getPriceGuide() {
		return priceGuide;
	}


	public void setPriceGuide(BigDecimal priceGuide) {
		this.priceGuide = priceGuide;
	}


	public BigDecimal getPriceSale() {
		return priceSale;
	}


	public void setPriceSale(BigDecimal priceSale) {
		this.priceSale = priceSale;
	}


	public String getDisp() {
		return disp;
	}


	public void setDisp(String disp) {
		this.disp = disp;
	}


	public Short getGearNum() {
		return gearNum;
	}


	public void setGearNum(Short gearNum) {
		this.gearNum = gearNum;
	}


	public String getGearbox() {
		return gearbox;
	}


	public void setGearbox(String gearbox) {
		this.gearbox = gearbox;
	}


	public Integer getOrderNum() {
		return orderNum;
	}


	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public void setCarImgs(Set<CarImg> carImgs) {
		this.carImgs = carImgs;
	}


	public Set<CarImg> getCarImgs() {
		return carImgs;
	}


	public void setCarParam(CarParam carParam) {
		this.carParam = carParam;
	}


	public CarParam getCarParam() {
		return carParam;
	}


}